// 引入mockjs 主要用作工业互联网生成随机数据
import Mock, { Random } from "mockjs";

Mock.mock("/gyhlwSunshine", "get", {
  // 输出数据
  sunshine: [
    { "number|0-1.1-3": 0 },
    { "number|0-1.1-3": 0 },
    { "number|0-1.1-3": 0 },
    { "number|0-1.1-3": 0 },
    { "number|0-1.1-3": 0 },
    { "number|1-450.1-3": 0 },
    { "number|25276-36000.1-3": 0 },
    { "number|32698-42890.1-3": 0 },
    { "number|46100-56200.1-3": 0 },
    { "number|32900-43000.1-3": 0 },
    { "number|26000-36500.1-3": 0 },
    { "number|28000-48600.1-3": 0 },
    { "number|27000-57500.1-3": 0 },
    { "number|27300-47700.1-3": 0 },
  ],
  "water|25": [{ "number|0-1.1-3": 0 }],
  "windspeed|25": [{ "number|0-2.1-3": 0 }],
  "windfront|25": [{ "number|0-300.1-3": 0 }],
  "temperature|25": [{ "number|16-26.1-3": 0 }],
  "humility|25": [{ "number|65-85.1-3": 0 }],
  "trtemperature|25": [{ "number|22-25.1-3": 0 }],
  "trhumility|25": [{ "number|4-5.1-10": 0 }],
  "pm|25": [{ "number|0-10.1-10": 0 }],
  "airpressure|25": [{ "number|600-800.1-10": 0 }],
  "dqtemperature|18-26.1-2": 0,
  "dqhumility|80-126.1-2": 0,
  "dqtrtemperature|18-26.1-2": 0,
  "dqtrhumility|2-6.1-2": 0,
  "dqpm|2-10.1-2": 0,
  "dqpressure|700-900.1-2": 0,
});
